MACRO(ENABLE_QT)
    FIND_PACKAGE(Qt4)
    SET( QT_USE_QTGUI TRUE )
    SET( QT_USE_QTXML TRUE )
    SET( QT_USE_QTSQL TRUE )
    SET( QT_USE_QTNETWORK TRUE )
    SET( QT_USE_QTDBUS TRUE )
    SET( QT_USE_QTWEBKIT TRUE)
    SET( QT_USE_QTSCRIPT TRUE)
    INCLUDE(${QT_USE_FILE})
ENDMACRO(ENABLE_QT)
